package com.yh.workbill.model;

import java.io.Serializable;
import java.util.Observable;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

public class WorkBill extends BaseObservable implements Serializable {
    public long id;
    public String uuid;
    public String user_uuid;
    public String work_time;
    public String work_unit;
    public String work_content;
    public String work_car_number;
    public String work_device;
    public double work_use_time;
    public double work_time_price;
    public double work_money;
    public String create_time;
    public String company_uuid;
    public String company_name;
    public boolean check;

    public WorkBill() {

    }

    public WorkBill(long id, String uuid, String user_uuid, String work_time, String work_unit, String work_content, String work_car_number, String work_device, double work_use_time, double work_time_price, double work_money, String create_time, String company_uuid, String company_name, boolean check) {
        this.id = id;
        this.uuid = uuid;
        this.user_uuid = user_uuid;
        this.work_time = work_time;
        this.work_unit = work_unit;
        this.work_content = work_content;
        this.work_car_number = work_car_number;
        this.work_device = work_device;
        this.work_use_time = work_use_time;
        this.work_time_price = work_time_price;
        this.work_money = work_money;
        this.create_time = create_time;
        this.company_uuid = company_uuid;
        this.company_name = company_name;
        this.check = check;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUser_uuid() {
        return user_uuid;
    }

    public void setUser_uuid(String user_uuid) {
        this.user_uuid = user_uuid;
    }

    @Bindable
    public String getWork_time() {
        return work_time;
    }

    public void setWork_time(String work_time) {

        this.work_time = work_time;
    }

    @Bindable
    public String getWork_unit() {
        return work_unit;
    }

    public void setWork_unit(String work_unit) {
        this.work_unit = work_unit;
    }

    @Bindable
    public String getWork_content() {
        return work_content;
    }

    public void setWork_content(String work_content) {
        this.work_content = work_content;
    }

    @Bindable
    public String getWork_car_number() {
        return work_car_number;
    }

    public void setWork_car_number(String work_car_number) {
        this.work_car_number = work_car_number;
    }

    @Bindable
    public String getWork_device() {
        return work_device;
    }

    public void setWork_device(String work_device) {
        this.work_device = work_device;
    }

    @Bindable
    public double getWork_use_time() {
        return work_use_time;
    }

    public void setWork_use_time(double work_use_time) {
        this.work_use_time = work_use_time;
    }

    @Bindable
    public double getWork_time_price() {
        return work_time_price;
    }

    public void setWork_time_price(double work_time_price) {
        this.work_time_price = work_time_price;
    }

    public double getWork_money() {
        return work_money;
    }

    public void setWork_money(double work_money) {
        this.work_money = work_money;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getCompany_uuid() {
        return company_uuid;
    }

    public void setCompany_uuid(String company_uuid) {
        this.company_uuid = company_uuid;
    }

    @Bindable
    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    @Override
    public String toString() {
        return "WorkBill{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", user_uuid='" + user_uuid + '\'' +
                ", work_time='" + work_time + '\'' +
                ", work_unit='" + work_unit + '\'' +
                ", work_content='" + work_content + '\'' +
                ", work_car_number='" + work_car_number + '\'' +
                ", work_device='" + work_device + '\'' +
                ", work_use_time=" + work_use_time +
                ", work_time_price=" + work_time_price +
                ", work_money=" + work_money +
                ", create_time='" + create_time + '\'' +
                ", company_uuid='" + company_uuid + '\'' +
                ", company_name='" + company_name + '\'' +
                ", check=" + check +
                '}';
    }
}
